/**  
 * Copyright © 2014公司名字. All rights reserved.
 *
 * @Title: DrugDaoImpl.java
 * @Prject: web
 * @Package: yang.dao.impl
 * @Description: TODO
 * @author: Administrator  
 * @date: 2014年6月24日 上午9:48:11
 * @version: V1.0  
 */
package yang.dao.impl;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import yang.model.HospitalDrug;

/**
 * @ClassName: DrugDaoImpl
 * @Description: 药品持久化层
 * @author: Administrator
 * @date: 2014年6月24日 上午9:48:11
 */
@Repository("drugDao")
public class DrugDaoImpl extends BaseDaoImpl<HospitalDrug>{

	

	@Override
	public HospitalDrug save(HospitalDrug o) {
		// TODO Auto-generated method stub
		return super.save(o);
	}

	@Override
	public HospitalDrug get(Class<HospitalDrug> c, Serializable id) {
		// TODO Auto-generated method stub
		return super.get(c, id);
	}

	@Override
	public HospitalDrug get(String hql) {
		// TODO Auto-generated method stub
		return super.get(hql);
	}

	@Override
	public HospitalDrug get(String hql, Map<String, Object> params) {
		// TODO Auto-generated method stub
		return super.get(hql, params);
	}

	@Override
	public void delete(HospitalDrug o) {
		// TODO Auto-generated method stub
		super.delete(o);
	}

	@Override
	public void update(HospitalDrug o) {
		// TODO Auto-generated method stub
		super.update(o);
	}

	@Override
	public void saveOrUpdate(HospitalDrug o) {
		// TODO Auto-generated method stub
		super.saveOrUpdate(o);
	}

	@Override
	public List<HospitalDrug> find(String hql) {
		// TODO Auto-generated method stub
		return super.find(hql);
	}

	@Override
	public List<HospitalDrug> find(String hql, Map<String, Object> params) {
		// TODO Auto-generated method stub
		return super.find(hql, params);
	}

	@Override
	public List<HospitalDrug> find(String hql, Map<String, Object> params,
			int page, int rows) {
		// TODO Auto-generated method stub
		return super.find(hql, params, page, rows);
	}

	@Override
	public List<HospitalDrug> find(String hql, int page, int rows) {
		// TODO Auto-generated method stub
		return super.find(hql, page, rows);
	}

	@Override
	public Long count(String hql) {
		// TODO Auto-generated method stub
		return super.count(hql);
	}

	@Override
	public Long count(String hql, Map<String, Object> params) {
		// TODO Auto-generated method stub
		return super.count(hql, params);
	}

	@Override
	public int executeHql(String hql) {
		// TODO Auto-generated method stub
		return super.executeHql(hql);
	}
	
}
